export const setLocal = (key: string, params?: any): void => {
  localStorage.setItem(key, params)
}

export const removeLocal = (key: string): void => {
  localStorage.removeItem(key)
}

export const clearLocal = (): void => {
  localStorage.clear()
}

export const getLocal = (key: string) => {
  return localStorage.getItem(`${key}`)
}
